package cn.itcast.core.dao;

import cn.itcast.core.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @auther :hyh
 * @desc :
 * @date :2019/5/7
 */
@Mapper
public interface DeptDao {
    Dept findById(Long id);

    List<Dept> findAll();

    boolean addDept(Dept dept);
}
